/*
 * Main.fx
 *
 * Created on 15.11.2009, 15:57:39
 */

package javafx179labs.Safiullin.lab11;

import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.scene.text.Font;
import javafx.scene.shape.Ellipse;
import javafx.scene.paint.Color;
import javafx.scene.transform.Rotate;
import javafx.scene.shape.Rectangle;
import javafx.scene.shape.Polyline;
import javafx.scene.paint.LinearGradient;
import javafx.scene.paint.Stop;
import javafx.scene.shape.Circle;
import javafx.scene.effect.InnerShadow;
import javafx.scene.transform.Shear;
import javafx.scene.effect.GaussianBlur;
import javafx.scene.effect.Bloom;
/**
 * @author Safick
 */
Stage {
    title: "NOKIA"
    width: 640
    height: 480
    scene: Scene {
    content: [
    Rectangle {
        x: 190, y: 15
        width: 260, height: 420
        arcWidth:20 arcHeight:20
        fill: Color.DARKBLUE
        }
    Rectangle{
        x: 210, y: 35
        width: 220, height: 240
        fill: Color.DARKGREEN
        }
    Ellipse {
        centerX: 318, centerY: 295
        radiusX: 45, radiusY: 17
        fill: Color.BLUE
        }
    Polyline {
        transforms:Rotate { pivotX : 318, pivotY : 295, angle:0}
        points : [ 288,300, 278,295, 288,290]
        strokeWidth: 2.0
        stroke: Color.RED
        }
    Polyline {
        transforms:Rotate { pivotX : 318, pivotY : 295, angle:180}
        points : [ 288,300, 278,295, 288,290]
        strokeWidth: 2.0
        stroke: Color.RED
        }
    Polyline {
        transforms:Rotate { pivotX : 318, pivotY : 295, angle:90}
        points : [ 313,300, 303,295, 313,290]
        strokeWidth: 2.0
        stroke: Color.RED
        }
    Polyline {
        transforms:Rotate { pivotX : 318, pivotY : 295, angle:270}
        points : [ 313,300, 303,295, 313,290]
        strokeWidth: 2.0
        stroke: Color.RED
        }
    Rectangle {
        x: 210, y: 280
        width: 60, height: 30
        fill: LinearGradient {
            startX : 1.0
            startY : 1.0
            endX : 1.0
            endY : 0.0
            stops: [
                Stop {
                color : Color.LIGHTBLUE
                    offset: 0.0
                    },
                Stop {
                    color : Color.BLUE
                    offset: 1.0
                    },
                   ]
                }
        }
    Rectangle {
        x: 370, y: 280
        width: 60, height: 30
        fill: LinearGradient {
            startX : 1.0
            startY : 1.0
            endX : 1.0
            endY : 0.0
            stops: [
                Stop {
                color : Color.LIGHTBLUE
                    offset: 0.0
                    },
                Stop {
                    color : Color.BLUE
                    offset: 1.0
                    },
                   ]
                }
        }
    Text {
        font : Font {size: 18}
        x: 213, y: 300
        content: "MeNu"
        }
    Text {
        font : Font {size: 18}
        x: 373, y: 300
        content: "NaMe"
        }
    Circle {
        effect:InnerShadow {
                        choke: 0.0
                        offsetX: 0
                        offsetY: 0
                        radius: 12
                        color: Color.WHEAT
                }
        centerX: 220, centerY: 330
        radius: 15
        fill: Color.LIGHTGREEN
        }
    Text {
        font : Font {size: 24}
        x: 212, y: 337
        content: "1"
        }
    Circle {
        effect:InnerShadow {
                        choke: 0.0
                        offsetX: 0
                        offsetY: 0
                        radius: 12
                        color: Color.WHEAT
                }
        centerX: 320, centerY: 330
        radius: 15
        fill: Color.LIGHTGREEN
        }
    Text {
        font : Font {size: 24}
        x: 313, y: 337
        content: "2"
        }
    Circle {
        effect:InnerShadow {
                        choke: 0.0
                        offsetX: 0
                        offsetY: 0
                        radius: 12
                        color: Color.WHEAT
                }
        centerX: 420, centerY: 330
        radius: 15
        fill: Color.LIGHTGREEN
        }
    Text {
        font : Font {size: 24}
        x: 413, y: 337
        content: "3"
        }
    Circle {
        effect:InnerShadow {
                        choke: 0.0
                        offsetX: 0
                        offsetY: 0
                        radius: 12
                        color: Color.WHEAT
                }
        centerX: 420, centerY: 365
        radius: 15
        fill: Color.LIGHTGREEN
        }
    Text {
        font : Font {size: 24}
        x: 413, y: 372
        content: "6"
        }
    Circle {
        effect:InnerShadow {
                        choke: 0.0
                        offsetX: 0
                        offsetY: 0
                        radius: 12
                        color: Color.WHEAT
                }
        centerX: 320, centerY: 365
        radius: 15
        fill: Color.LIGHTGREEN
        }
    Text {
        font : Font {size: 24}
        x: 313, y: 372
        content: "5"
        }
    Circle {
        effect:InnerShadow {
                        choke: 0.0
                        offsetX: 0
                        offsetY: 0
                        radius: 12
                        color: Color.WHEAT
                }
        centerX: 220, centerY: 365
        radius: 15
        fill: Color.LIGHTGREEN
        }
    Text {
        font : Font {size: 24}
        x: 212, y: 372
        content: "4"
        }
    Circle {
        effect:InnerShadow {
                        choke: 0.0
                        offsetX: 0
                        offsetY: 0
                        radius: 12
                        color: Color.WHEAT
                }
        centerX: 220, centerY: 400
        radius: 15
        fill: Color.LIGHTGREEN
        }
    Text {
        font : Font {size: 24}
        x: 212, y: 407
        content: "7"
        }
    Circle {
        effect:InnerShadow {
                        choke: 0.0
                        offsetX: 0
                        offsetY: 0
                        radius: 12
                        color: Color.WHEAT
                }
        centerX: 320, centerY: 400
        radius: 15
        fill: Color.LIGHTGREEN
        }
    Text {
        font : Font {size: 24}
        x: 313, y: 407
        content: "8"
        }
    Circle {
        effect:InnerShadow {
                        choke: 0.0
                        offsetX: 0
                        offsetY: 0
                        radius: 12
                        color: Color.WHEAT
                }
        centerX: 420, centerY: 400
        radius: 15
        fill: Color.LIGHTGREEN
        }
    Text {
        font : Font {size: 24}
        x: 413, y: 407
        content: "9"
        }
    Text {
        transforms:Shear { x: 0.9, y : 0.0 }
        font : Font {size: 12}
        x: 230, y: 50
        content: "Connecting People"
        fill:Color.LAWNGREEN
        }
    Text {
        effect:GaussianBlur {radius: 3}
        font : Font {size: 18}
        x: 260, y: 170
        content: "MTS - [VTI-179]"
        fill:Color.LAWNGREEN
        }
    Circle {
        effect:Bloom {threshold: 0.5}
        centerX: 201, centerY: 26
        radius: 10
        fill: Color.YELLOW
        }
        ]
    }
}